package com.googlecode.bjpodcast.data;

import java.util.ArrayList;
import java.util.List;


public class Channel {
	
	private String url;
	private String title;
	private String link;
	private String language;
	private String copyright;
	private String itunes_subtitle;
	private String itunes_author;
	private String itunes_summary;
	private String description;
	private String owner_name;
	private String owner_email;
	private String itunes_image_url;
	private List<String> itunes_category =  new ArrayList<String>();;
	private List<Item> items = new ArrayList<Item>();
	
	public Channel() {
	}
	
	public Channel(String title, String link, String description) {
		this.title = title;
		this.link = link;
		this.description = description;
		
	}
	

	
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getCopyright() {
		return copyright;
	}
	public void setCopyright(String copyright) {
		this.copyright = copyright;
	}
	public String getItunes_subtitle() {
		return itunes_subtitle;
	}
	public void setItunes_subtitle(String itunes_subtitle) {
		this.itunes_subtitle = itunes_subtitle;
	}
	public String getItunes_author() {
		return itunes_author;
	}
	public void setItunes_author(String itunes_author) {
		this.itunes_author = itunes_author;
	}
	public String getItunes_summary() {
		return itunes_summary;
	}
	public void setItunes_summary(String itunes_summary) {
		this.itunes_summary = itunes_summary;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getOwner_name() {
		return owner_name;
	}
	public void setOwner_name(String owner_name) {
		this.owner_name = owner_name;
	}
	public String getOwner_email() {
		return owner_email;
	}
	public void setOwner_email(String owner_email) {
		this.owner_email = owner_email;
	}
	public String getItunes_image_url() {
		return itunes_image_url;
	}
	public void setItunes_image_url(String itunes_image_url) {
		this.itunes_image_url = itunes_image_url;
	}

	
	
	public List<String> getItunes_category() {
		return itunes_category;
	}

	public void setItunes_category(List<String> itunes_category) {
		this.itunes_category = itunes_category;
	}

	public List<Item> getItems() {
		return items;
	}
	public void setItems(List<Item> items) {
		this.items = items;
	}
	
	public void addItem(Item item) {
		this.items.add(item);
	}

	@Override
	public String toString() {
		return "Channel [url=" + url + ", title=" + title + ", link=" + link
				+ ", language=" + language + ", copyright=" + copyright
				+ ", itunes_subtitle=" + itunes_subtitle + ", itunes_author="
				+ itunes_author + ", itunes_summary=" + itunes_summary
				+ ", description=" + description + ", owner_name=" + owner_name
				+ ", owner_email=" + owner_email + ", itunes_image_url="
				+ itunes_image_url + ", itunes_category=" + itunes_category
				+ ", items=" + items + "]";
	}



	
	
}
